package com.ct.application.sysrole.request;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysRoleBindMenuRequest {
    /**
     * 角色ID
     */
    @NotNull(message = "角色ID不能为空")
    private Long roleId;
    /**
     * 菜单列表
     */
    @NotNull(message = "菜单不能为空")
    private List<Long> menusIds;
}
